Windows OS

If using Windows, at a command prompt, type: echo %PROCESSOR_ARCHITECTURE%

Windows may provide a value that could be one of a range of values, but all 32-bit environments will respond with: X86.